C++ Snippets
C++11 Sublime Text Snippets
Details
Installs
- Total 76K
- Win 44K
- Mac 10K
- Linux 23K
Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 2 | 7 | 2 | 2 | 5 | 7 | 5 | 0 | 6 | 4 | 6 | 3 | 8 | 4 | 3 | 9 | 3 | 1 | 1 | 5 | 8 | 0 | 1 | 2 | 5 | 10 | 4 | 5 | 7 | 6 | 3 | 4 | 1 | 4 | 2 | 3 | 3 | 8 | 3 | 4 | 4 | 4 | 5 | 3 | 3 |
Mac | 0 | 1 | 0 | 0 | 0 | 0 | 4 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
Linux | 0 | 0 | 0 | 1 | 3 | 2 | 1 | 2 | 3 | 1 | 2 | 2 | 1 | 1 | 1 | 3 | 3 | 1 | 1 | 1 | 2 | 0 | 7 | 1 | 1 | 3 | 1 | 2 | 1 | 1 | 2 | 1 | 4 | 2 | 5 | 0 | 2 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
C++ Snippets for Sublime Text
This package adds some useful snippets for Sublime Text for C++11. It matches the following style:
if(/* condition */) {
/* code */
}
Installation
Package Control (recommended)
The easiest way to install the C++ Snippets is by using Package Control. Installing it is documented here.
- Open Package Control (or hit Ctrl+Shift+P or Cmd+Shift+P)
- Type install and hit enter
- Type C++ Snippets and hit enter again
Cloning the Repository
You can manually install the package by using Git.
- Navigate to Sublime’s Packages directory
- Run
git clone https://github.com/Rapptz/cpp-sublime-snippet.git
To find out where the Packages directory is, you can go to Preferences and Browse packages…. This will open the directory in your file explorer.
Downloading the Archive
If you don’t have Package Control or Git, you can also download the package. However you really should be using Package Control, because the process is simpler.
- Open https://github.com/Rapptz/cpp-sublime-snippet in your browser
- On the right hand side there is a Download ZIP button – click it
- Go to Preferences and Browse packages… which opens the Packages directory
- Extract the archive inside the Packages directory
Documentation
Documentation can be found in the reference.md file.
License
The overall collection of snippets is licensed under the MIT License but the individual snippets themselves are licensed under CC0.